﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using StudioLib;
namespace StuCat
{
    public partial class ScheduleItemAddBox : Form
    {
        public ScheduleItemAddBox()
        {
            InitializeComponent();
        }

        public PriceSchedule.Timing timing;
        public int price;

        private void button1_Click(object sender, EventArgs e)
        {
            timing.start = comboBox1.SelectedIndex;
            timing.end = comboBox2.SelectedIndex;
            price = (int)numericUpDown2.Value;
        }

        private void ScheduleItemAddBox_Load(object sender, EventArgs e)
        {
            comboBox2.SelectedIndex = 0;
            comboBox1.SelectedIndex = 0;
        }
    }
}
